cmake_minimum_required(VERSION 3.0.0)

# 安装 onedark pro 文本样式
function(qtcreator_install_styles _STYLE_FILE)
    install(FILES ${_STYLE_FILE} ${ARGN}
        DESTINATION /usr/share/qtcreator/styles)
endfunction(qtcreator_install_styles _STYLE_FILE)

# 安装 onedark pro主题
function(qtcreator_install_themes _THEME_FILE)
    install(FILES ${_THEME_FILE} ${ARGN}
        DESTINATION /usr/share/qtcreator/themes)
endfunction(qtcreator_install_themes _THEME_FILE)
